using System;
using System.Collections.Generic;
using FishFillets.Model;
using FishFillets.ObjectLogic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;

namespace FishFillets.GameComponents
{
    public class SoundEffectComponent : GameComponent
    {
        private readonly ContentManager contentManager;

        // A dictionary of loaded sound effects.
        public Dictionary<string, SoundEffect> SoundEffects { get; set; }

        public List<SoundEffectInstance> Instances { get; set; }

        private TimeSpan SoundEnd;

        public SoundEffectComponent(Game game, ContentManager contentManager)
            : base(game)
        {
            this.contentManager = contentManager;
            SoundEffects = new Dictionary<string, SoundEffect>();
            Instances = new List<SoundEffectInstance>();
        }

        public override void Update(GameTime gameTime)
        {
            
        }
    }
}
